home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / demo / client / ui / DemoEditorAlert.gui < prev    next >
Encoding:
Text File  |  2005-11-23  |  1.6 KB  |  62 lines

  1. //--- OBJECT WRITE BEGIN ---
  2. new GuiControl(DemoEditorAlert) {
  3.    Profile = "GuiDefaultProfile";
  4.    HorizSizing = "right";
  5.    VertSizing = "bottom";
  6.    position = "0 0";
  7.    Extent = "800 600";
  8.    MinExtent = "8 8";
  9.    Visible = "1";
  10.       helpTag = "0";
  11.  
  12.    new GuiWindowCtrl() {
  13.       Profile = "GuiWindowProfile";
  14.       HorizSizing = "center";
  15.       VertSizing = "center";
  16.       position = "200 80";
  17.       Extent = "400 440";
  18.       MinExtent = "300 200";
  19.       Visible = "1";
  20.       text = "Mission Editor";
  21.       maxLength = "255";
  22.       resizeWidth = "1";
  23.       resizeHeight = "1";
  24.       canMove = "1";
  25.       canClose = "1";
  26.       canMinimize = "1";
  27.       canMaximize = "1";
  28.       MinSize = "50 50";
  29.       closeCommand = "Canvas.popDialog(DemoEditorAlert);";
  30.          helpTag = "0";
  31.  
  32.       new GuiMLTextCtrl(EditorAlertText) {
  33.          Profile = "GuiMediumTextProfile";
  34.          HorizSizing = "width";
  35.          VertSizing = "bottom";
  36.          position = "20 40";
  37.          Extent = "380 264";
  38.          MinExtent = "8 8";
  39.          Visible = "1";
  40.          lineSpacing = "12";
  41.          allowColorChars = "1";
  42.          maxChars = "-1";
  43.             helpTag = "0";
  44.       };
  45.       new GuiButtonCtrl(OkayButton) {
  46.       Profile = "GuiOkayButtonProfile";
  47.       HorizSizing = "right";
  48.       VertSizing = "bottom";
  49.       position = "130 370";
  50.       Extent = "140 30";
  51.       MinExtent = "8 2";
  52.       Visible = "1";
  53.       text = "Okay";
  54.       groupNum = "-1";
  55.       buttonType = "PushButton";
  56.       command = "Canvas.popDialog(DemoEditorAlert);";
  57.       };
  58.    };
  59.  
  60. };
  61. //--- OBJECT WRITE END ---
  62.